import { http } from '@/utils/http/axios';

export function listPlate(data = {}) {
  return http.request({
    url: '/admin/base/plate/list',
    method: 'get',
    data,
  });
}

export function pagePlate(data = {}) {
  return http.request({
    url: '/admin/base/plate/page',
    method: 'post',
    data,
  });
}

export function addPlate(data = {}) {
  return http.request({
    url: '/admin/base/plate/add',
    method: 'post',
    data,
  });
}

export function updatePlate(data = {}) {
  return http.request({
    url: '/admin/base/plate/update',
    method: 'post',
    data,
  });
}

export function delPlate(data = {}) {
  return http.request({
    url: '/admin/base/plate/delete',
    method: 'post',
    data,
  });
}
